Cleaned up Lint warnings and added copyright notice