gonna make this huge
removed unused crap
added tex and trivial hints
added parser for orders. still need to deal with puts over situations tho