reorganize plotting code. Will move individual functionality to distinct files.