Refactored classes to optimize memory and CPU usage for 1-D automatons