Put command parser in event-loop
Put command parser in event-loop