Creates page model