Finished basic Plugin support, hooks still aren't implemented