Added class for buttons and constants

Signed-off-by: Alex Saskevich <alexhomel@ya.ru>