Adding and setting the main navigation