Refactor bill and change gemspec to rails 2