Reverted anon function
Added mongod daemon