Updated api handler and refactored templates views
Merge branch 'master' of https://github.com/hlboy4ik/system_picreel