Added copyright headers to java source