added REST API docs and bash script to load files