implemented group leader submissions, refactored submit declaration, corrected git directory checking