small refactor
add carrierwave