added object constructor (still missing serialisation)
Handled serialization
fixed Url parameters handling