add ui/testing/db gems and configure pg