Added the code

We (Dan) has been using this code to build a new BPS system for the old
box. The files have been in the dropbox for some time, but we just started
the git repo.