Refactor: Dumped material_t block allocator

Block allocation of materials can be added back later.
Refactor: Switched surface.c to C++
Refactor: Switched p_dmu.c to C++