Create separate module for preferences

Fix the Jackson pre-requisite failure with bundling preferences in a
separate module.