Added routing for REST API