Add basic plug support and naive code reloading