Removed dependencies on linq, now compatible with .net Framework 2.0