[CLEANUP]: license update and some code style review