Added scores module for different rules. Improved modularity