Upgrade to Rails 4.0 and stripping everything down to bare minimum