added a main that references all other views