Change cache system to fetch new repos often and get all repositories every week

Closes #4
codestyle
Include keywords #6
Reduce nesting