from blo.BloArticle import BloArticle


class Blo:
    def __init__(self):
        self.article = BloArticle()

@@ -31,18 +31,54 @@
 Article%0A
+from blo.DBControl import DBControl
 %0A%0A
+%0A
 class Bl
@@ -105,43 +105,554 @@
 self
-):%0A        self.article = BloArticle
+, db_file_path, template_dir=%22%22):%0A        self.template_dir = template_dir%0A        # create tables%0A        self.db_file_path = db_file_path%0A        self.db_control = DBControl(self.db_file_path)%0A        self.db_control.create_tables()%0A        self.db_control.close_connect()%0A%0A    def insert_article(self, file_path):%0A        self.db_control = DBControl(self.db_file_path)%0A        article = BloArticle(self.template_dir)%0A        article.load_from_file(file_path)%0A        self.db_control.insert_article(article)%0A        self.db_control.close_connect
 ()%0A

Implement main Blo class.