added frotend gems and changed db adapter to postgres