reworked Server class
general work on GUI
added new classes for GUI

//bug painting method giving error with double painting