Fixing up code
Defining license