Removed memory tracking and switched ByteArray to pure C