Adds component scan to application bootstrap.
Adds mongo configuration.