make decoder structs private
add decoder_get_time
move decoders config to instance
add decoder_get_regions