Feature/mnesia

Closing mnesia feature and merging with develop.