Moved cuda version to a different directory and refactoring some testbench code.