Split commands to separate modules. Split declaration for libs by modules in declarations folder