Implemented new API functionality to return a record and the associated domain infomation for that record.
Updated record controller and model to move more of thevariable assignment etc. from out of the cotnroller into the model (would be overkill to create a service class though.)
Cleaned up controller code and moved service specific stuff into the model to relieave the controller from logic and variable assignments etc.