removed active record, added redis gem, fixed some style and scripts