added some basic class stuff.