Mana API rework, the Mana Network instance and the SubTileFunctional and SubTileGenerating classes are now part of the API. Also passed a quick cleanup brush.