add action.py, remove action function from modemanager.py