Skeleton for model part of MVC