Move the anvil model back into code (Closes #13)