Configuration and sql file
Added config and db connect function