Refactor
Update view cache only when there is an update
Check presence of environment variables before using them
Accept lowercase log level values from environment variables
Fix bug where None is returned while bool is expected
Change the log level for requesting outside
Delete cache when update command is run