Added new materials system. Working on tile parsing even further.