add asanareporting and start refactoring out setup code