Sources formatted. More implementation on server actions.

Build tested with gcc 4.7 and witty 3.2.2. Server registration implemented.