Implement appmanager add and list commands