incorporate new rootpath and resource loader