Making base classes to list the database structures.