GenerateDuration class

The bus indexs work now i believe!