removed empty file headers
added license header to all java files
fixed javadoc html errors
updated usage of deprecated methods to use new version