Added has_timestamps function
Broke baton.c and baton.h into a number of more focussed files.

Added more API documentation.