added main file
ResponseWriter wrap to log status code.
Added cmd line port option.