refactored into instances, but javascript call stack gets too big
instances now work
fixed a lot of bugs with the instances, css-ed the game up a bit