To run, use flask --app planviewpathplan run (--debug) from route directory