factored Plaid into a module.