copied code for ue2
packages
added javadoc