Separating framework and application