improves plugin parameters structure
implements parameter handling with defaults
get connection params from configuration
fixes bug in parameter handling
adds new policy test