GUI sketch added
Logic used by GUI. Everything seems to be ready.