Project bot + github factory Fix #337 #383

This combines #337 and #383