add groups table, squash migrations, rewrite download task