added getClass method

This helps if you break up your mapping files