Original solution for the gSchool Sales Engine project, with refactoring over time.