GBoard library with optimized memory usage and more functions