Refractored initialize and get info method
Fixed bugs, refractored super and subclass methods and added YAML file loading