removed unnecessary permissions and library imports which was for testing purpose only