Enable as module and add easy separation of API token

Addition of __init__ file means code can be imported as a module.
Storage of API token in separate file (git ignored) makes subsequent
sharing of code easier.