I have now split up different parts of the game into separate modules
for ease of use still being "tidied up".
Split functions into modules.