Added command line arguments to main.py

Specifically so that the port could be passed to the server