Uses macros to define DB connection parameters in model.php