Move program meta data to lib.
Update program definition for interface changes.