Changed database to pg and installed chartkick for analysis