add basic url parsing. fixes #1