Splitting pre-production to use worker and server. WIP.