Moderate/Locks initial checkin (Ruby & C++, with test files)