Implementation of duration and beat content. Close #99