refactored products array into seperate file