First version

server and tests