added init func
whoops misspelled function
switched to json notation
switched to a generic game class