Using precise value for PI
Updated code to use new library
Clean up the code
Merge remote-tracking branch 'origin/bug_connect_to_mongo' into next

* origin/bug_connect_to_mongo:
  Clean up the code
  Updated code to use new library
  Using precise value for PI