* refactor(server): redis config * refactor: cache parsed env data * chore: add database and redis tests