feat(flatten): wip, create basic module