Improving godocs and adding doc.go in api package