refactoring a bit

adding app.js and map-layers.js
Merge branch 'master' of https://github.com/sfletche/ol3-marco-test