A simple plugin abstract class

No other stuff, just a class. :)
Also I changed the main thread naming.