Added map.c

We really need a libfreeradius-server thingy...
More / better errors and tests