Added runcontext to 'new' call so it passing the resource correctly, also create default service root dir if it doesn't already exist