Seperated client from main, new function, new namespace