Fixing broken stuff

* removed broken, useless flask code
* added line to gitignore to stop trying to track egg related junk
* tweaked legends parser, it's nearly producing useful output!