Fixes on Application,gitstat,gitsubmit. Added templateapp as a demo (python)