created teacher model, moved teacher model controller out of table view controller