move some stuff to include file, create state.json if not exists
Merge branch 'master' of https://github.com/tedpearson/anthracite