Fixed some bugs.
Updated modules.
OSX compatibility.
Updated README.