flying/struct is upgraded to v0.2.1, affected code is changed accordingly
Code is refactored to meet PSR-2 coding standard better
Implemented dedicated class for application state operations
Resources loading code is completely refactored