fixing relative path, and add mongoose connect sample