Implemented listsites command
More error checking
Cleanly remove undeployed sites
Fixes