Subsumed auxiliary classes into single file, to facilitate posting on CareerCup.com.