adding the encounter controller and directives directory