Update README.md

added code for mapping base classes