setting header on the beginning of the method to prevent Access-Control-Allow-Origin problem when path is not found
added org.foam.orion.server to gradle build
changed compatibility to java 1.6