refactor ol3 map engine, and smooth animations