Publishing the main processing loop

This is the main loop that accepts requests from UART, processes them and send responses back to the host.