[WFLY-3485] Move path objects to their own resource classes