added new classes

linked buttons to new classes and made them functional