add basic fileinput support
start documenting things a little...