Separated project out into server and client parts