first draft of the models and views. some tinkering with a layout