initial implementation of commit hook
implemented pre commit hook
implemented pre commit hook