split client/server into two separate src paths