Copy lib to output folder. Generate list of tables