Added plugin system, separated libs to external jar file