Fixed bugs in endpoint creation, refactored code to use more decorators, added new stackdio.client.exceptions module