add three java files