added tests for sprintf()
added additional utility methods in utils
1. modified registeredDefinitions to be a hash
2. implemented finding component definitions and retrieval