Modifier factory function.

Includes reference counting through OORef.
Modifiers can be applied.

This is still buggy.
Make automatic conversions from and to FloatType work.