This will not modify your bundle, but will decouple and ease its integration in projects.
You are right, you have to add some options to define the user class and the user manager.

You should merge this feature first and do this modification in another branch later.