changed to dynamic thread pool
added command line parsing of parameters uri and base64