add callbacks and interval to getData method. request chunk handling fix. package and readme updates.