add and remove functionality - Jagrut

Hey done with adding to library and removing from library
Merge remote-tracking branch 'origin/master'

Conflicts:
	library.php