added Visit model, has and belongs to, visits controller, and more