Created model classes basic heiarchy
Fixed accessability error