organise imports, clarify copyright
add appropriate licensing headers to all java files