Refactoring and add calls to encoder and publisher
Handle both laboratory and management objects. Todo: sample for management-app
Save objects in laboratory and management stores
Use lims-api encoders to encode the saved objects
Publisher module