diff --git a/lib/dive.js b/lib/dive.js
index <HASH>..<HASH> 100644
--- a/lib/dive.js
+++ b/lib/dive.js
@@ -6,6 +6,36 @@
  * Licensed under the MIT license.
  */
 
-exports.awesome = function() {
-  return 'awesome';
-};
+(function () {
+    // Initial setup
+    // --------------
+
+    // save a reference to the global object
+    var root = this;
+
+    // the top-level namespace. All public `dive` classes and modules will 
+    // be attached to this. Exported for both CommonJS and the browser
+    var dive, $self;
+    if (typeof exports !== 'undefined') {
+        $self = dive = exports;
+    } else {
+        $self = dive = root.dive || {};
+    }
+
+    // current version of the library
+    $self.VERSION = '0.1.0';
+
+    $self.metersToFeet = function (meters) {
+        /// <summary>Calculates standard meters to feet calculation.</summary>
+        /// <param name="meters" type="Number">Number of meters to convert.</param>
+        /// <returns>The number in feet.</returns>
+
+        return meters * 3.2808;
+    };
+
+    $self.awesome = function () {
+        /// <summary>Test awesome!</summary>
+        return 'awesome';
+    };
+
+}).call(this);
Reformatting library setup to work for both commonjs and the browser