Seperated client into to files