Added som classes for the server
Added javadoc