Added parse()
Created user agent helper class