Adds map and more lineGraph functionality