fixed tags generation not touch _build
removed unused type
added mli to cmd
removed unused functions
proper formatting to mli