Class file, models and example code