removed old library
added export to CSV function to common