added a bunch of csv import functionality, still fixing some bugs though