Create scoring algorithm and refactor initializer.