added plugin and cmake