greg framework application