Python Create Object From Variable Classification