Add docs about the factory method configuration and getting params from resources