ohemgee services done at 3... am.

there's a lot going in this service, keep it simple. This `getMaxOfArray` should probably be a parameter of the object that's eventually being returned.