moved some functionality into clld core, made app compatible with python 3.4, closes #8.