Simple navigation controller that fetches data from a SQLite database