Generify some methods, add ConfigAdapter interface, Move Spigot-specific stuff to spigot package (In preparation for #7)