remove nm_get_layout_block, etc

#36 will be done in a different way