Added reference to the constructor for subclasses
corrected json file
Corrected messages mechanism