Add init_app method, pass app later
Simple tests + improvement
Fix by autopep8
Merge pull request #8 from Myconomy/master

Add init_app method, pass app later