Refactor and add header formatting
Remove console.log from drawHeader method