Initial import.

This is imported from https://github.com/ymeine/std, first commit, and improved before first publication to meet my quality requirements.

These improvements include:

- completing tests
- completing documentation (there is still work to do of course)
- improving code clarity
- adding a few stuff to the code
- ...