Renamed dex.py to port.py
Made port handle port stuff, api.py has a function for each receiver command.