two class is defined DataBase and BaseTable, DataBase help you insert, update, delete and select class that you create very simple, and also if class extends from BaseTable, it will give useful method.