Changed to commons-beanutils to construct objects and added more tests
Fix serialisation and persistence issues