Major fixes, new control config loading process

also includes the beginnings of a script execution framework, DO NOT TRY
TO USE!!