Changed class structure and fixed up main

main needs to parse a list of boardStates. Not quite working yet.