Initial work on presence tracking