Added MarkLogic libraries, and Persistence layer