made properties into a function in Main handler
made nav a separate class
quiz 2 submited