added license comment to rest java
merged with dev