old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  __author__ = 'Felippe Raposo'
  __email__ = 'raposo.felippe@gmail.com'
  __version__ = '0.0.1'
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  from dbaas_api import DatabaseAsAServiceApi
  from provider_factory import ProviderFactory
  
  
  def factory_for(**kwargs):
      databaseinfra = kwargs['databaseinfra']
      del kwargs['databaseinfra']
  
      dbaas_api = DatabaseAsAServiceApi(databaseinfra)
  
      return ProviderFactory(dbaas_api, **kwargs)
  
subject: Add factory_for