Added new base class called Base Asset to help perform the task of getting items like the pages, folders, etc. Integrated the changes into siteTree.php

Refactored code