create teachers table and group table