refactored API endpoint into modules
move argument parsing to a function
did a little refactoring of tests; no functional changes
use raw string for file path
added a smoke test of the base search url
added some documentation to a keyword
added additional tests for the doc page