Started pages tree support
Reformatted code
Renamed nodes to pages.
Improved comments and code readability.
Added method for finding the module and page type for the given content page id.
Added page children deletion when removing a content page.