class Architect: """Top level class for stock program""" def __init__(self): # DB init goes here self.miner = Miner() # create DB calls def mine_today(self): # add all the companies from tblCompany for dict in [{"Name":"Google", "Symbol":"GOOG"}]: self.miner.add_company(Company(dict["Name"], dict["Symbol"])) self.miner.mine() self.miner.score_companies() for company in self.miner.company_list: print company.company_name, company.current_price, company.current_media