add logging versions, and last sync time.
add lambda functionallity to get more modularity