Validate startup array references
Add db_ping function
Check if the database is alive before loading into database
Refactor color usage on the command