ToMaster Database Class