Added basic framework for model.