expand controlports library to include api and listener files - rework amx-controlports-control file