Implement the time entry service

Implement the data-access services for time entry.

Note

Work in progress.

Next unit: Migrating the time entry UI

button