data libraries: API improvements, access permissions work, started with UI for adding files from history work