Added arg switches. Now the user can choose database and port.