trace + Graphics

added Graphics Helper creation class
little refactor of the trace function