created basic class for the scroll buffer