Listing out contents of pages directory
Added support for pages