Added comments and docstrings to the Authorization module
Even more comments
More comments added for further clarification