initial checkin of LeapBase code