Committing tiles related code