Refactored references into a single class
HTTP interface to model's references