The first thing to do would be the usage of multi-dimensional arrays. Then, some path smoothing code would come in handy. That's what I plan for the following release.