Reduce lookahead to 2 weeks
Move json code into separate class