Finished server integration with user interface

- Added commands to start and stop server
- Server runs in separate thread detached from GUI thread