Make registerPlugin more tolerant
Move plugins to their own folder