added comments to sim configuration main.cc and added sqlite backend