Initial commit of Core API example code.