implemented nav object, removed old code from previous movement implementation.