more refactoring commands
fully functioning ping and pong. now to original intention
more refactoring