add global run method; add filewatcher example