fixing dockerfile
cleaning up API