Green code

For fixing api-doc and more pep8 and coding standard.