cleanup, introduce lang.ml, mv actions in main