Fixed constructor parameters; created "selected" method;
minimal main;