new main game loop system and keys press system