Commandline support & GeoIP

Added commandline support and GeoIP lookup