added gradle build files
added requirejs for javascript dependency mechanism