added code, MIT licesnse, and partial documentation