Refactored name of module, added session support and sub module

Refactored name of module, added session support and sub module