Add function comments for docs
Add new type definitions to README
Remove 'import . ' statement
Add json tags to config object