Added AMD support through Require. Started Map class and added more options.