Rename project to tests from functional-tests.

Create Wrapper main that can dispatch to the client or server.