Refactored and commented control center'