Move code traversal to separate file.
Set up static file server and inject logging into JS.