Added functions, cleaned up code, set navigation bar to be black with white text