Further additions to bats file builder; started analysis file, tested some first models.