introduced directory service and refactored file service, added license
Merge branch 'svn'