created completion support and make some corrections to readme, with test