Model Layer for Lab4