initialization with mvc framework