adding materials and structures to database