fixing 406 error
taking out debug
some updates to make tests run, added coverage, moved inits around.
Some fixes for CSV import issues, but not finished