An expert system library and toolset for defining tasks locally