UK: pep8: code refactor of create_instance function
UK: set required xform to instance
UK: add check for existing request object