-adding encounter controller

-adding encounter controller + tests