Added core files to the graphics library

Some files were located in the Sofia core API but not in the graphics
packages, causing errors.