Added new block type, cleaned up tile code