Seperating functions to make them better for testing. Adding tests for challenge rest calls and login.
Adding sphinx documentation and pyctf client tests.