Fixed a typo in README.md
Fixed an error in ClassManager::instantiate when using functions instead of strings for className