Tidying

I fixed up some indentation and added comments.
Trying to parse the csv and create meta dict