Fix exception namespace
Url encode of name
Add datetime object