defined the model on initalization
changed the readme