add mvc and routes for avails
migrate