config api cleanup

1. gitignore file added
2. config api cleanup