New Relic Interview Question

Take home coding challenge, OOP, database stuff