Implemented self-refreshing for some objects

Closes #2, closes #3
Activated API key protection (from git)