Moved client main to root