Cleaned up code, added args port selection and updated binary