SelfServer code for a raspberry pi