Moved helper factories to Module.php
Moved service factories away from configuration to Module.php
Created a factory for session manager