finally got carrierwave working, merging with rest of the project