Added a block registry system and overhauled rendering