chore: extract data and navbar controller into their own files