Initial checkin of DAP source files and old conversion script