additional server functionality

added accessor classes and moved tests to external source folder