Added proof of concept plugin framework.

Thanks to ErikJohansson93 and jenslind.