stuff for options page
added remove package functionality
mirrored getPackages and removePackage to pages api
added option page and allow package removing
restart plugin on remove