Added BadRequest handler
Removed most Option wrappers
Modified tests and functions to accept timespan parameter
Modified tests so database no longer needs to be emptied