Rename functions that ask for user input. Added default port number.
Software now ask for port number if no argument is passed. various bug fixes