take command line arguments, make web port configurable