removed events model/controller and added lines model/controller