Added copyright notice to all files
Code cleanup