Defining intersection theory on stacks