added views as a separate file