add functional modules in min main.py