basic class for simple pages