simplified rex_be_controller
allow relative paths for subPath
set subPath automatically for plugin pages