first draft for mvc-model and observer class