refactor project structure in order tu use requirejs and its AMD approac...

...h