Code written by the AMAS team during the Hackathon on 9/26-9/27/2014