Adds getBarDurations etc

See #36