add rails initializer, read namespace for classes