Updated db setup to catch PDOExceptions
More work on base install script