Refactor helpers into BeanstalkHelper