add github support and smaller fixes