* latency improvements * fixed mypy, added coding standards and instructions * slight logic improvement