Added yaml for maps.
Refactorings. Added initializer app js.