Created unit test page and server controller for handling dir and docs