fixed #18 added table creation sql script for ESD