Added basic machinery for a plugin application