Close fd when deinitializing the connector
Add initial command processor interface and stubs
Add initialisation and deinitialisation
Add initial libev setup for the command processor