(add) RunServer method for server instantiation and console input handling