Add upload definitions and csv to controllers