added package model and package controller