generateClassName by exploding _ on table name

In order to avoid Laravel from thinking that the Class just created is in a subfolder.
This happen for all relational tables.