Fixed layout and type warnings
Implemented routing_tables