initial checkin of dia codebase