moved bson and finder lib to base module