Web Service

Added DB connect function