diff --git a/.gitignore b/.gitignore
index d33629a..de46ec9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,62 @@
+###
+
+.idea
+
+## File-based project format:
+*.iws
+
+## Plugin-specific files:
+
+# IntelliJ
+/out/
+
+# mpeltonen/sbt-idea plugin
+.idea_modules/
+
+# JIRA plugin
+atlassian-ide-plugin.xml
+
+# Crashlytics plugin (for Android Studio and IntelliJ)
+com_crashlytics_export_strings.xml
+crashlytics.properties
+crashlytics-build.properties
+fabric.properties
+
+### Intellij Patch ###
+# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
+
+*.iml
+modules.xml
+*.ipr
+
+###
+
+###
+# Compiled class file
*.class
+# Log file
+*.log
+
+# BlueJ files
+*.ctxt
+
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.war
*.ear
+*.zip
+*.tar.gz
+*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
+
+target/
+
+###
+
+edireader/toSplit.edi
+testresults
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..94cfc79
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,34 @@
+allprojects {
+ apply plugin: 'maven'
+
+ group = 'com.berryworks'
+ version = '5.4.6'
+}
+
+subprojects {
+ apply plugin: 'java'
+ sourceCompatibility = 1.7
+ targetCompatibility = 1.7
+
+ task packageSources(type: Jar) {
+classifier = 'sources'
+from sourceSets.main.allSource
+
+}
+artifacts.archives packageSources
+ repositories {
+ mavenLocal()
+
+ maven { url "http://repo.maven.apache.org/maven2" }
+ }
+
+
+ dependencies {
+ compile group: 'com.berryworks', name: 'jquantify', version:'4.1.3'
+ testCompile group: 'junit', name: 'junit', version:'4.12'
+ testCompile group: 'junit-addons', name: 'junit-addons', version:'1.4'
+ testCompile group: 'xmlunit', name: 'xmlunit', version:'1.6'
+}
+
+
+}
diff --git a/edireader/src/main/java/com/berryworks/edireader/plugin/ANSI_837.java b/edireader/src/main/java/com/berryworks/edireader/plugin/ANSI_837.java
new file mode 100644
index 0000000..4cc46ca
--- /dev/null
+++ b/edireader/src/main/java/com/berryworks/edireader/plugin/ANSI_837.java
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2005-2015 by BerryWorks Software, LLC. All rights reserved.
+ *
+ * This file is part of EDIReader. You may obtain a license for its use directly from
+ * BerryWorks Software, and you may also choose to use this software under the terms of the
+ * GPL version 3. Other products in the EDIReader software suite are available only by licensing
+ * with BerryWorks. Only those files bearing the GPL statement below are available under the GPL.
+ *
+ * EDIReader is free software: you can redistribute it and/or modify it under the terms of the
+ * GNU General Public License as published by the Free Software Foundation, either version 3 of
+ * the License, or (at your option) any later version.
+ *
+ * EDIReader is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
+ * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with EDIReader. If not,
+ * see .
+ */
+
+/*
+* Generated by plugin generator utility by BerryWorks Software, LLC.
+*
+* using /home/mayberry/IntelliJProjects/edireader-trunk/testdata/sef/hipaa/837_X098.SEF
+* on Tue Jul 15 22:36:07 CDT 2008
+*/
+package com.berryworks.edireader.plugin;
+
+import com.berryworks.edireader.Plugin;
+
+public class ANSI_837 extends Plugin
+{
+ public ANSI_837()
+ {
+ super("837", "Health Care Claim");
+ loops = new LoopDescriptor[]{
+ new LoopDescriptor("2300", "CLM", 2, "/2000/2300"),
+ new LoopDescriptor("2300", "CLM", 2, "/2000"),
+ new LoopDescriptor("2305", "CR7", 3, "/2000/2300/2305"),
+ new LoopDescriptor("2305", "CR7", 3, "/2000/2300"),
+ new LoopDescriptor("2000", "HL", 1, ANY_CONTEXT),
+ new LoopDescriptor("2440", "LQ", 4, "/2000/2300/2400/2440"),
+ new LoopDescriptor("2440", "LQ", 4, "/2000/2300/2400"),
+ new LoopDescriptor("2400", "LX", 3, "/2000/2300/2400"),
+ new LoopDescriptor("2400", "LX", 3, "/2000/2300"),
+ new LoopDescriptor("2330", "NM1", 4, "/2000/2300/2320/2330"),
+ new LoopDescriptor("2420", "NM1", 4, "/2000/2300/2400/2420"),
+ new LoopDescriptor("2310", "NM1", 3, "/2000/2300/2310"),
+ new LoopDescriptor("2330", "NM1", 4, "/2000/2300/2320"),
+ new LoopDescriptor("2420", "NM1", 4, "/2000/2300/2400"),
+ new LoopDescriptor("2010", "NM1", 2, "/2000/2010"),
+ new LoopDescriptor("2310", "NM1", 3, "/2000/2300"),
+ new LoopDescriptor("2010", "NM1", 2, "/2000"),
+ new LoopDescriptor("1000", "NM1", 1, ANY_CONTEXT),
+ new LoopDescriptor("2320", "SBR", 3, "/2000/2300/2320"),
+ new LoopDescriptor("2320", "SBR", 3, "/2000/2300"),
+ new LoopDescriptor(CURRENT, "SBR", 1, "/2000"),
+ new LoopDescriptor("2430", "SVD", 4, "/2000/2300/2400/2430"),
+ new LoopDescriptor("2430", "SVD", 4, "/2000/2300/2400"),
+ };
+ }
+}
\ No newline at end of file
diff --git a/testresults/x12/split-0001.xml b/testresults/x12/split-0001.xml
index c686a48..74b8703 100644
--- a/testresults/x12/split-0001.xml
+++ b/testresults/x12/split-0001.xml
@@ -1,172 +1 @@
-
-
-
-
-
-
-
-
-
-
-
-
- 11
- 07141005162
- 040714
- 1003
-
-
-
- SU
- 92
- 58401O
-
-
-
-
- SF
- 92
- 58401O
-
-
-
-
- ST
- 92
- 05304
-
-
-
-
- MA
- 92
- 05304
-
-
-
-
- IA
- SI
- AC32804
- 856
-
-
- BM
- AC32804
-
-
- PK
- 00032804
-
-
- PM
- 52069902AA
-
-
- 009
- 040714
- 1003
- ED
-
-
- 011
- 040714
-
-
-
-
- IA
- SI
- AC32804
- 856
-
-
- BM
- AC32804
-
-
- PK
- 00032804
-
-
- PM
- 0CP00015
-
-
- 009
- 040714
- 1003
- ED
-
-
- 011
- 040714
-
-
-
-
- IA
- SI
- AC32804
- 856
-
-
- BM
- AC32804
-
-
- PK
- 00032804
-
-
- PM
- 0CD03536
-
-
- 009
- 040714
- 1003
- ED
-
-
- 011
- 040714
-
-
-
-
- IA
- SI
- AC32804
- 856
-
-
- BM
- AC32804
-
-
- PK
- 00032804
-
-
- PM
- 0CP00016
-
-
- 009
- 040714
- 1003
- ED
-
-
- 011
- 040714
-
-
-
-
-
-
\ No newline at end of file
+11071410051620407141003SU9258401OSF9258401OST9205304MA9205304IASIAC32804856BMAC32804PK00032804PM52069902AA0090407141003ED011040714IASIAC32804856BMAC32804PK00032804PM0CP000150090407141003ED011040714IASIAC32804856BMAC32804PK00032804PM0CD035360090407141003ED011040714IASIAC32804856BMAC32804PK00032804PM0CP000160090407141003ED011040714
\ No newline at end of file