remove some unused gems, refactored a bit, fixed some content encoding issues seen on Brad Feld's blog