Added controllers for REST API