initial working version. simple interface, only POS tagging