Adds debug file, fixes package json versioning and fixes submodules