initial checkin of working prototype