Removed unnecessary imports
Added license to every file