Add postgres and remote database support
Simplify Rails root lookup
Simplify Rails env lookup
General code cleanup
Version bump
Remove some limitations from README