Added code for parsing count files.

Also added the intial testing framework.