implemented reader for CSV file and changed the documentation for some functions