Implemented blueprint and better exception handling
Merge pull request #1 from ehenneken/blueprint

Implemented blueprint and better exception handling
refactoring of app