Removed the verbose httpc set option call.
Moved the list containers to the list_endpoint function, cuts out code.
Moved the delete_block call to a generic function.