Move WP_Stream_Record class to the classes folder
Fix minor bug in mongo db adaptor