Added the rest of the APIs and a basic test page. Also added MongoDB hook (hardcoded)