Simplified navbar creation, added comments