Started work on groups. Also changed how the test pdf files are handled.