Python Dynamically Create Class From String To Array