Added accessor modifiers to all functions and added aggregate helper
into the model