Add and configured Doctrine as application library.