Changed new and initialize setup
Added remote and local options for ArticleDatabase creation
Made ArticleDatabase path entry depend on remote or local type
Changed optional parameters style and some bug fixes for ArticleDatabase
Added exception case for type
Added exception case for type
Changed localpath to path
Bug fixes for hash matching