added copyright information and MIT license to headers