added dymanic controllers and routes