From http://stackoverflow.com/questions/2136760/creating-an-instance-of-a-class-with-a-variable-in-python

Instatiate a class from string