Fixed missing trailing slash in total life expectancy endpoint.
Implemented input boundary checks for life expectancy endpoints and corresponding test case.
Added support for setting the path to the datastore externally and defining it as read-only.