switch to joda time
added attacks, nearest neighbour search