split off the navigator code into it's own file...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>