diff --git a/Gemfile b/Gemfile
index fa5ec788af7830bb16904cf688869efa410e3336..b910bb41d0b952d9b2236f9248eccdb506845b3b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,121 +1,141 @@
 source 'http://rubygems.org'
 
-gem 'mysql2', '0.2.6' if ENV['DB'].nil? || ENV['DB'] == 'all' || ENV['DB'] == "mysql"
-gem 'pg' if ENV['DB'] == 'all' || ENV['DB'] == "postgres"
-gem 'sqlite3' if ENV['DB'] == 'all' || ENV['DB'] == "sqlite"
 gem 'rails', '3.0.10'
-gem 'foreigner', '0.9.1'
-gem 'activerecord-import'
 
 gem 'bundler', '>= 1.0.0'
-gem 'chef', '0.9.12', :require => false
-gem 'ohai', '0.5.8', :require => false #Chef dependency
-
-gem 'nokogiri'
-gem 'settingslogic', '2.0.6'
-
 gem 'foreman'
 
-gem 'vanna', :git => "git://github.com/MikeSofaer/vanna.git"
+gem 'thin', '1.2.11', :require => false
+
+# authentication
 
-#Security
 gem 'devise', '~> 1.3.1'
 gem 'devise_invitable', '0.5.0'
-
-#Authentication
+gem 'jwt', "0.1.3"
+gem 'oauth2-provider', '0.0.16'
 gem 'omniauth', '0.2.6'
 gem 'twitter', '1.5.0'
 
-gem 'oauth2-provider', '0.0.16'
-gem 'jwt', "0.1.3"
-
-#Web
-gem 'faraday'
-gem 'faraday-stack'
+# backups
 
-#Views
-gem 'haml', '3.1.2'
-gem 'sass', '3.1.4'
-gem 'will_paginate', '3.0.pre2'
-gem 'mobile-fu'
+gem 'cloudfiles', '1.4.10', :require => false
 
-#Localization
-gem 'rails-i18n'
-gem 'i18n-inflector-rails', '~> 1.0'
+# chef
 
-#Tags
-gem 'acts-as-taggable-on', :git => 'git://github.com/diaspora/acts-as-taggable-on.git'
+gem 'chef', '0.9.12', :require => false
+gem 'ohai', '0.5.8', :require => false
 
-#Uncatagorized
-gem 'roxml', :git => 'git://github.com/Empact/roxml.git', :ref => '7ea9a9ffd2338aaef5b0'
-gem 'addressable', '2.2.4', :require => 'addressable/uri'
-gem 'json', '1.4.6'
-gem 'http_accept_language', :git => 'git://github.com/iain/http_accept_language.git', :ref => '0b78aa7849fc90cf9e12'
+# configuration
 
-gem 'thin', '1.2.11', :require => false
-gem 'redcarpet', :git => 'git://github.com/tanoku/redcarpet'
+gem 'settingslogic', '2.0.6'
 
-#Websocket
-gem 'em-websocket', :git => 'git://github.com/igrigorik/em-websocket', :ref => 'e278f5a1c4db60be7485'
-gem 'em-synchrony', :platforms => :ruby_19
+# database 
 
-#File uploading
-gem 'carrierwave', '0.5.2'
-gem "fog", '0.3.25'
-gem "excon", "0.2.4"
-gem 'mini_magick', '3.2'
-gem 'aws', '2.3.32' # upgrade to 2.4 breaks 1.8 >.<
+gem 'activerecord-import'
+gem 'foreigner', '0.9.1'
+gem 'mysql2', '0.2.6' if ENV['DB'].nil? || ENV['DB'] == 'all' || ENV['DB'] == 'mysql'
+gem 'pg' if ENV['DB'] == 'all' || ENV['DB'] == 'postgres'
+gem 'sqlite3' if ENV['DB'] == 'all' || ENV['DB'] == 'sqlite'
 
+# file uploading
 
+gem 'aws', '2.3.32' # upgrade to 2.4 breaks 1.8 >.<
+gem 'carrierwave', '0.5.2'
+gem 'excon', '0.2.4'
 gem 'fastercsv', '1.5.4', :require => false
+gem 'fog', '0.3.25'
 gem 'jammit', '0.5.4'
+gem 'mini_magick', '3.2'
 gem 'rest-client', '1.6.1'
 gem 'typhoeus'
 
-#Reporting
-gem 'hoptoad_notifier'
-gem 'newrelic_rpm', :require => false
+# JSON and API
 
-#Backups
-gem 'cloudfiles', '1.4.10', :require => false
+gem 'json', '1.4.6'
+gem 'vanna', :git => 'git://github.com/MikeSofaer/vanna.git'
+
+# localization
+
+gem 'i18n-inflector-rails', '~> 1.0'
+gem 'rails-i18n'
+
+# parsing
+
+gem 'nokogiri'
+gem 'redcarpet', :git => 'git://github.com/tanoku/redcarpet'
+gem 'roxml', :git => 'git://github.com/Empact/roxml.git', :ref => '7ea9a9ffd2338aaef5b0'
+
+# queue
 
-#Queue
 gem 'resque', '1.10.0'
 gem 'resque-ensure-connected'
 gem 'resque-timeout', '1.0.0'
 gem 'SystemTimer', '1.2.1', :platforms => :ruby_18
 
-group :development do
-  gem 'yard'
-  gem 'capistrano', '2.5.19', :require => false
-  gem 'capistrano-ext', '1.2.1', :require => false
-  gem 'sod', :git => "git://github.com/MikeSofaer/sod.git", :require => false
-  gem 'ruby-debug-base19', '0.11.23' if RUBY_VERSION.include? '1.9.1'
-  gem 'ruby-debug19', :platforms => :ruby_19
-  gem 'ruby-debug', :platforms => :mri_18
-  gem 'linecache', '0.43', :platforms => :mri_18
-end
+# reporting
+
+gem 'hoptoad_notifier'
+gem 'newrelic_rpm', :require => false
+
+# tags
+
+gem 'acts-as-taggable-on', :git => 'git://github.com/diaspora/acts-as-taggable-on.git'
+
+# URIs and HTTP
+
+gem 'addressable', '2.2.4', :require => 'addressable/uri'
+gem 'http_accept_language', :git => 'git://github.com/iain/http_accept_language.git', :ref => '0b78aa7849fc90cf9e12'
+
+# views
+
+gem 'haml', '3.1.2'
+gem 'kaminari'
+gem 'mobile-fu'
+gem 'sass', '3.1.4'
+gem 'will_paginate', '3.0.pre2'
+
+# web
+
+gem 'faraday'
+gem 'faraday-stack'
+
+# web sockets
+
+gem 'em-synchrony', :platforms => :ruby_19
+gem 'em-websocket', :git => 'git://github.com/igrigorik/em-websocket', :ref => 'e278f5a1c4db60be7485'
+
+### GROUPS ####
 
 group :test, :development do
   gem 'jasmine', '1.1.0.rc3'
 end
 
 group :test do
-  gem 'factory_girl_rails'
-  gem 'fixture_builder', '0.2.2'
-  gem 'selenium-webdriver', '2.4'
   gem 'capybara', '~> 0.3.9'
   gem 'cucumber-rails', '0.3.2'
-  gem 'rspec', '>= 2.0.0'
-  gem 'rspec-core', '2.6.0'
-  gem 'rspec-rails', '>= 2.0.0'
-  gem 'rcov', :require => false
   gem 'database_cleaner', '0.6.0'
-  gem 'webmock', :require => false
+	gem 'diaspora-client', :git => 'git://github.com/diaspora/diaspora-client.git'
+                          #"0.1.0", #:path => '~/workspace/diaspora-client'
+  gem 'factory_girl_rails'
+  gem 'fixture_builder', '0.2.2'
+  gem 'fuubar'
   gem 'mongrel', :require => false, :platforms => :ruby_18
+  gem 'rcov', :require => false
+	gem 'rspec', '>= 2.0.0'
+  gem 'rspec-core', '2.6.0'
   gem 'rspec-instafail', '>= 0.1.7', :require => false
-  gem 'fuubar'
-
-  gem 'diaspora-client', :git => 'git://github.com/diaspora/diaspora-client.git'
-                          #"0.1.0", #:path => '~/workspace/diaspora-client'
+  gem 'rspec-rails', '>= 2.0.0'
+  gem 'selenium-webdriver', '2.4'
+  gem 'webmock', :require => false
 end
+
+group :development do
+  gem 'capistrano', '2.5.19', :require => false
+  gem 'capistrano-ext', '1.2.1', :require => false
+  gem 'linecache', '0.43', :platforms => :mri_18
+	gem 'ruby-debug-base19', '0.11.23' if RUBY_VERSION.include? '1.9.1'
+  gem 'ruby-debug19', :platforms => :ruby_19
+  gem 'ruby-debug', :platforms => :mri_18
+  gem 'sod', :git => 'git://github.com/MikeSofaer/sod.git', :require => false
+  gem 'yard'
+end
\ No newline at end of file