move text and json to libs dir