[CDF-242]: Ensure Orient DB shuts down when server shuts down
[CDF-238]: Reviewed build process for CDF