Modified application initialization process.
bin/midnight now supports modified init process.
Merge pull request #1 from msavela/feature/test-support

Feature/test support