Handle cleaning up addons better
add guide for writing addons