Move libs and added saving configuration in client