Moves the fallback function to a core module, since it will be shared by the others.
Moves the fallback function to a core module, since it will be shared by the others.

Also make it a bit more general.

sorellabs/black