Command line tool and better documentation