Finished UDA support for deserializer
Added singleton implementation