refactor html generation
added table for tap
dynamic nav bar population