migrate text analysis module stub to maven and fix libs