Tidied up code base for bike route tracker.