Raw prefix reading, address -> prefix injection, new version sum type, generic prefix module

Title says it all.