Now fully working

Functions complete.

Added config which can be customised to however you want.
Added url redirect function.
Commented and tidied up functions.

Will add more notes in readme.