added some libs
some untested work on the plugin