initial draft of working app and model