Generic inputmethod implementation library
