Added share command
Command register via module

To use command registration via module
there has to be commands variable with list
of command classes