Make files mode regular
Use is_a instead of kind_of

As suggested by Rubocop
Upgrade Rails
Book to Item
Introduce copywise feature