move main login into FastTags module, tweak cabal file to build library with it