cleaned up code, added getAllArticles method