added docstrings
updated gitignore
added stub to handle requests sent by privly-applications