Added functions for calculated bonus and total word score
Also cleaned up namespace