First commit, main classes and prototype tilesystem