Removed serializable class, added build order into game, added test code, and fixed several bugs