build most of the new block UI

oh god I need to delete deprecated code here