1. add some content to api docs/api/system.rst
2. enhance the old api