Added RequireJS, minor changes to directory structure