added gems for maxpoint and changed database config