implement carrierwave and compact redesign for courses