Added server classes. Need to write unittests before continuing.