added mnesia store/fetch api
added mnesia setup and db directory settings