Move plugins to be a module of lib.rs, not under main.rs