Implemented Server Methods.

Implemented methods for creating new files, locking files, reading from
and writing to file.

TODO write modes, currently it truncates the file and writes the Msg.

Anything else...