set up skeleton views and model