split up tabula.scala into manageable parts