get articles from db and loop through them in the main page

resolves #5