Small general purpose framework for C