Added ability to specify a base page path. If specified all loaded pages are prefixed with this path.