Refactoring some code, moving tank implementation to tgame-core