Initial implementation for elite set and some tests