basic class work for object oriented programming.