Added a build with dependencies for maven, renamed Main to JsonValidator
Added main function and run function.