HUGE overhaul; memory optimizations