Basic spout working sample used as template.