added oo implementation
removed scrapbook