added cascaded deletes for hive and feeder
added docstrings