Added commands to get ip and port
Moved
Changes
Code formatting