added basic data extract with naive crc implementation
added proof of concept and more tests for data encoding