added core graphic utilities file; initial core graphics util functions