Refactoring Application package

Uses more direct dependancy injection rather than default loaders
(configuration and session) to remove references to Factory - Refs #32.

Makes tests run standalone - Refs #4.