Reorganized repository, added protocol testing.