Makefile improvements.
Placing algorithm enums in another file.
Starting implementation of the simple protocol.