Added mongodb interfacing and postlist.