refactor: refactor into some common functions
fix(prompts): downloading the jar shouldnt check the $VERSION variable every time
feat(usage): split usage into its own function
docs: add function docs for functions
refactor(download): use function parameters for the functions
fix: use 'booleans' properly and test them properly
refactor: move file writing into their own functions
docs: docblock in wrong place
fix: fix to allow it to work on the chosen servers
fix: we dont need no bash
style: use lower case for variable names
style: use default value for variable syntax and check command result directly