work with new REST apis
add gitignore