Merge "v0.4.41 logging added. Split database into a base class db_base with general...