Cleaned up functionality of the navbar buttons to make changing them easy. Added a bunch of comments and general code cleanup in the App section