re-implemented xml bindings for hibernate mappings
fixed a couple of typos