Reorganized files to make them browser friendly for #3.
Added UMD wrapper to make it browser friendly.