Use expected config object when creating app
Merge pull request #3 from ymek/master

Use expected config object when creating app instance