Upload the userAgent class and an example