First commit that has stuff running

- but still really, really, really broken
Major stuff: added a stats window, put majority of enum factories in
their own separate classes (under util.factories)