Tile Refactor - Phase I - Render Refactor

Hello cofh lib! Mind if I borrow a few things?

Wasn't initially planning on just importing all this stuff, but it sort of happened.

Well, that's what the Lib is for right? TODO: Thank Team CoFH in places.
Tile Refactor - Phase II - Tile Reorder

Re ordered the Tile hierarchy and reworked Machine.