Working server except for the stop feature