Add some updates

1. support CentOS
2. some cleanup in Docs
3. some cleanup in the codes.