Put the code of loading db file to one method although it's not used for now; Add __del__ method to delete the db connection if necessary.
Put the code of loading db file to one method although it's not used for now; Add __del__ method to delete the db connection if necessary.

xzhang2016/tfagent