Added factory initializer class which will do error checking on objects as they are parsed from JSON files