Added and implemented formats class