commented code and added GUI class. now need to just draw stuff on canvas