added doc and structure.sql