Dev commit: Finally implementing the router and host stuff