Adde foo module for importing and removed import logic from model.
fixed redirect_to