Adding plugin's code and improving doc