add javadoc
reformat code
overload the populateBean method with the possibility to exclude some fields from being populated (issue #9)