move to mvc and fix module routes