Added OS detection class
Something was changed here