Add create_backend helper method to agent model
Fix typo