restructured the project to introduce a rest api. (the idea is to remotely control which plots to run)