fix imports and add funcs for new interface
docs + use config.ErrMissingRequiredParam
add panics if method is called after closing a connection