clean up controller.java, separate out DB_PATH in to Constant object.