Framework for doing analysis of AIS data