split views and models