Add Flag component
Infrastructure changes
Some developments for scaling