Big commit. Implemented inverter ability to the torch(closes #1)
Abstracted schema stuff from tile class.