Made a module

Made the library module ready for distribution through LuaDist
Started writing the plotserver to have simultaneous plots while using
the interpreter