attempting to make tools into plugins
factored out lines plugin
fixes #7. Added some conjectures