periodically fetch the states and keep them in memory
API WIP