Core framework for DrawKit