Move plugins to lib