First draft of libFade