Small plugin system

- Added a small plugin system