FI port setup

FI port set up.

Server ports and uplink ports are hard coded as of now.
Check the usage of __main__ and then update it if needed. Doesn't look absolutely okay to be merged.
@cbpadman  can you comment on a better way of doing this ?