adds exception handling to wiki get
more modular
adds main command