set mongoDb as global var
add license