Adding rest to the application.