Add database, ability to add favorites to database, and main page favorites list.