make class Global a derivate of Registry and override handlers
refactor keyboard interface and add pointer