creating a class out of urlbot

Signed-off-by: anton <haglundanton+github@gmail.com>