First push of everything I have until now.

It should work, but is poorly commented...

Needs Code:Blocks to compile. Works under linux, did not
test it elsewhere, though it does not contain anything
that is linux dependable.