adds the directory structure necessary for the rest service