Add resource compiler