Initial set up of classes and gui