Update Fwouter.php

Refactored Fwouter