Collect States

Function to collect or instantiate the states of the screen