pass filterDB and preferredDB parameters to FindRoutes in API, closes #28
refactored map to be single instance, closes #60, fixes #58