Changed some parameters to better names.
Changed some vars/params for better names.
Added support for Pg Backend. Need more testing.