Tp dice app with library

Classes should begin with a capital letter.