Open sourced code used at http://xenomap.net