Provide DB embeded and server mode as well