Fix application init
Merge pull request #8 from ifdattic/fix-init

Fix application init