Create plugin.cpp

All defined stuff.