add version.json
remove debug statments, outdated comments