reconfigured sqlite to postgres
deleted old code and reference to awesome_print