add spray support, parallel and non parallel calculation of pi, mongodb support.