Added a LICENSE.txt file + some minor code updates

The project is now explicitly licensed on MIT License terms.