Move putTile to bluelib