Moved daemon code into a new file Daemon.h/cpp
Server and client seems to be functioning properly now. Have not been able to make the server crash by unexpectadly terminating a client :)
Server runs as root and cave files are now stored in /var/cave/ instead /home/currentuser/cave
The client can send commands to the server by typing a message starting with '/'.
Currently supported messsages are /save and /exit