create lib files for request