Optimization and code culling

Massive update changes to performance.  Also made all structures digestable.