fixed formatting and lexical parsing; changed license files