2013-01-24, model implementation

not compilable yet!