Moved views to submodule.
Moved session API to separate module.
Removed extraneous imports and restricted main view to Root resource.
Merge pull request #4 from edelooff/views-refactor

Views refactor