Adding Raid.py and error handling