Fixes #27, initial optimizations for speeding up Raspberry Pi class speeds