add  service and firebase to create RESTful services.