How to convert string to class and run it