adding first iteration of the time api and tests
updating package.json