Initial commit of bsd'd code from arx
Actual contents of BSD'd code from arx