Added new functions to services. Added created when field for Thread in order to ensure easy thread sorting.