hide private functions and improve readme