Moved server interface to api package.
Beginning to implement the methods outlined in the server interface