Finished ReST interface with DB/ZK interaction stubbed out.