Made controllers and models directories optional.