convert pascal class name to underscore
very very basic table inheritance