update tileengine : restructuring cpp and hpp