Changed to single collection for repository stage objects. Fixed attacking logic and renedring.