Remove old server code and replaced with a temp REST API