Implementing Setup logic, DB transaction logic, observer pattern