changed name and added Selector and DigitalSelector class
moved the array to main file