First working versions with bean serialization