remove logs on install
wrap before function itno a promise
updaet README
fix testcase rules