Ported c2s component as base module
Added signal handling to xmppd main

and some initialisation and -v ersion
WIP: Ported router logic to xmppd