Removed unused imports
Added copyright to some source files