added a new function to dbmngr and changed weights in anlyzgitdata