I want to do something along those lines:
class MyClass {}
struct MyStruct {}
let newStruct = typeFromName("MyStruct").init()
let newClass = typeFromName("MyClass").init()
I would like to be able to load information from a config file that would allow me to create different classes or struct base on a string in that file.