Moved server and matched server to client
Added qunit tests