initialize views and models