moved instantioation of local / remote conteollers to app controller