add the api base path a request uri in the main handler
removing some debug statements
add swp file to .gitignore