clean up code, updated android-support-v4.jar, moved/reused htk functionality