Fixed bug
Some small fixes
Removed debug code for timeout
Removed some more debug code
Added commit to send configuration to the router and some small fixes.