refactor code structure, add menu bar at top
add scoreboard