Ignore stash folder for krams.
Add minimal clib implementations.
Reorganize code.