A good place to start would be pulling in the following directories and their contents from CVS:
Also bring in pages/manager/SchedulerHandler.inc.php. These contain most of the scheduler's code. There are also additional tables in the CVS version of dbscripts/xml/ocs_schema.xml:
Note that this will not be trivial, however -- the metadata storage has been overhauled between OCS 2.0 and what will shortly become 2.1.
Public Knowledge Project Team