Refactored article provider to work with mongoDB