Refactoring Settings repository.

Added tempo token as setting