changed configuration to JSON syntax, removed legacy function readPoints