Added a plugin manager and squashed bugs

Now it's even cooler :)