Initial commit: add allocationMode user preference and form for choosing it