dispatch production and account into separate queues
introduce error handler (initial)
use RecordType enum instead of String