Use ActiveSupport Concern

It makes easy to use version class with different AR connection
Use ClassMethods module for AS::Concern