Solve SQL connection. Fixed SQL interaction for adding a person. Follow this as a guide. 

SQL and settings are now properly initialised in all classes.