add lib and sample README and res
add terminals