Remove unused.
Formatted.
Refactor.
Don't have config.h
Use PROVE macro.
Tidying.
Make open signature a bit more like POSIX.