base mvc framework construct