Removed unused imports
added license file (missed to do so in the previous commit)