started defining a xsd schema file and autogenerate java classes
minor
renamed resource
fixed javadoc warnings