Added support for starting up custom amount of mining processes