Use unique id for each module instance

Separate module instanitation and initialization
Skeleton base_c2s module
renamed daemon to router