Added a temp way to abstract database configuration out of the php code