Card #100 first stage, creation of new codes, listing codes, moving towards placing utility functions in UtilService (cleaning objects before REST etc)