Moving Background time fix and optimization of JSON reader