Fixed error in loader by altering dictionary

Made dictionary structure as so: <<classType, className>, valueType>.
And manually encoded the statements to go in loader from main class.