Added PullCommand and tests; Minor CS fixes;