issue006

Implemented voice feature and changed main function