Add some DOC string in the constructor and some format issues

Add some documentation and some format issues.