moved functions byte_convert() and getSize() to helper; renamed array $data_dwoo to $tpl_data