Revert "Revert "Added a prototype scoring algorithm""

This reverts commit 13b5c52c4e1b515bdc4c8b74d38150c929a560ff.