making production ready
improved mnesia startup, compile and start docs