use ClassMethods instead of included
use pluck_select
use proper class method call
remove id from file extensions db table