Update controllers and made the whole app dynamic