init feature-frtonend_refactor. TODO: 1. add legend. 2. add click listener
add legend