adding optional sound feature and making project compatible with android studio