Extracted OS and UserAgent info to separate classes