Added SQL declaration of tables