|#375|+Sriram| Refactoring Facility Controller and service. Separate methods for insert and update