basic class setup