Replaced the hardcoded attributes of the models

Added static classes with constants for all of the models and replaced
the hardcoded attributes.