Finish coding some basic model and some simple functionalities.