Restructuring lang

So much flags