implemented simulation class and began work on GUI