[jmdb] Adding the main functions