Auto routing now implemented

Basic testing of route also implemented