db engine loading bug and server app dir creation