Move the apply operator into its own file.
Add floor division to the apply() operator.