Allow multiple lazy initializations (fix #103)

This PR allow multiple lazy initialization with init_app() allowing to use the factory pattern.