generate code by ruby
Add rake task
Refactoring generator