Globally edited logic.

Added routing through regexp, modular structure (without dependencies).
Removed click callback from menu.
Merged two objects into one viewmodel. Data from json moved to storage object.
Added addional property "type" for pages in menu.json
Improved logic. Updated JSON. Now templates are checked by router.
Merge branch 'feature/modular_structure' into develop