errorhandling on malformed or non-unique urls. Also renamed main.py -> jockle.py