Maven and PlotMe-Core compatible

Added maven support
Made compatible with PlotMe-Core, does not work with previous plotme
version.