split client and server back into two seperate programs