refactor the image code
rename helpers.coffee to image.coffee and get all the useless methods out of the way