Added gpl license.  Removed unused imports