Refactored Genesis Class
Added alerts, fixed issue with encoding for magic head defaulted to main (yay!)