Added copyright notices, java doc comments, removed unused files