Implemented basic class structure