started refactor of ant colony