Initial files

The initial files I wrote a year ago. Will update to match the new
documentation when I get a free moment.