Model Layer implemented.