added modules and sql statements.