refactor block view to be a specific implementation of block cache
move networking data structures into data project, consolidate encoding