basic door controller