WIP - Fogify

Implement logic as fog, make `loin` slightly backend-agnostic.