Fixed configuration class and began work on GUI

Thanks Reem. Config seems to work but like blaaaah.