Ops

Updated main function
New selector engine
New to array method